var newsRight = Vue.extend({

data(){
  return{

  };
},
mounted: function() {
    this.$nextTick(function() {
        //console.log(this.newsList);
    });
},

methods: {

},

props: ['newsList'],
template:'\
<div class="right_zi">\
    <div class="bar clearfix">\
        <span class="b_tt">新闻资讯</span>\
        <span class="curbar">\
            <i>您当前的位置：</i>\
            <a href="index.html">首页</a>>\
            <a href="news.html">新闻资讯</a>>\
            <i>公司新闻</i>\
        </span>\
    </div>\
    <ul class="news_zi_ul clearfix" v-for="(item,index) in newsList.data">\
        <li v-for="(list,innerIndex) in item.newsList">\
            <router-link :to="\'/newsDetail/\' + index + \'/\' + innerIndex" class="clearfix">\
                <span class="left">\
                    <h4 v-text="list.name"></h4>\
                    <p v-text="list.info"></p>\
                </span>\
                <span class="right">\
                    <time>02-04</time>\
                    <span>2018</span>\
                    <i></i>\
                </span>\
            </router-link>\
        </li>\
    </ul>\
    <section class="pageing">\
        <a href="">«</a>\
        <a href="">‹</a>\
        <a href="javascript:;" class="active">1</a>\
        <a href="">2</a>\
        <a href="">3</a>\
        <a href="">4</a>\
        <a href="">…</a>\
        <a href="">›</a>\
        <a href="">»</a></section>\
</div>\
',

});